package com.chuanke.ckfamily.dao.social.model;
import com.weijie.core.extend.FiledName;
import com.weijie.core.extend.TableName;
import com.weijie.core.model.BaseModel;
import java.io.Serializable;
import java.sql.Timestamp;

@TableName("cf_special_relation")
public class SpecialRelation extends BaseModel {

	private static final long serialVersionUID = -1797855901258965886L;
	// 用户id
	private Long user_id;
	@FiledName("user_id")
	public Long getUser_id(){
		return this.user_id;
	}
	public void setUser_id(Long user_id){
		 this.user_id = user_id;
	}

	// 被拉黑或静音的用户id
	private Long target_user_id;
	@FiledName("target_user_id")
	public Long getTarget_user_id(){
		return this.target_user_id;
	}
	public void setTarget_user_id(Long target_user_id){
		 this.target_user_id = target_user_id;
	}

	// 1:黑名单操作，2:静音列表操作
	private Integer relation_type;
	@FiledName("relation_type")
	public Integer getRelation_type() {
		return relation_type;
	}
	public void setRelation_type(Integer relation_type) {
		this.relation_type = relation_type;
	}

	// 0:取消黑名单或静音，1:加入黑名单或静音
	private Integer value;

	@FiledName("value")
	public Integer getValue(){
		return this.value;
	}
	public void setValue(Integer value){
		 this.value = value;
	}

	private Timestamp create_time;
	@FiledName("create_time")
	public Timestamp getCreate_time(){
		return this.create_time;
	}
	public void setCreate_time(Timestamp create_time){
		 this.create_time = create_time;
	}

	private Timestamp update_time;
	@FiledName("update_time")
	public Timestamp getUpdate_time(){
		return this.update_time;
	}
	public void setUpdate_time(Timestamp update_time){
		 this.update_time = update_time;
	}
}